<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class UserTableSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->insert(array(
            ['id' => 1, 'scope_id' => 1, 'department_id' => 1, 'data_scope' => '010001', 'username' => '管理员', 'nickname' => 'super admin', 'phone' => '18513079886', 'email' => 'admin@admin.com', 'password' => Hash::make('pdaesd'), 'job' => '管理员', 'gender' => 1, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
            ['id' => 2, 'scope_id' => 1, 'department_id' => 11, 'data_scope' => '010002', 'username' => '赵晓丛', 'nickname' => 'xczhao', 'phone' => '18810147951', 'email' => 'zhaoxiaocong@zhuanhuayixue.org', 'password' => Hash::make('123456'), 'job' => '经理', 'gender' => 1, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
            ['id' => 3, 'scope_id' => 1, 'department_id' => 11, 'data_scope' => '010003', 'username' => '邢永旺', 'nickname' => 'ywxing', 'phone' => '13641037587', 'email' => 'xingyongwang@zhuanhuayixue.org', 'password' => Hash::make('123456'), 'job' => '前端工程师', 'gender' => 1, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
            ['id' => 4, 'scope_id' => 1, 'department_id' => 11, 'data_scope' => '010004', 'username' => '李启连', 'nickname' => 'qlli', 'phone' => '17635739981', 'email' => 'liqilian@zhuanhuayixue.org', 'password' => Hash::make('123456'), 'job' => 'PHP工程师', 'gender' => 1, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
            ['id' => 5, 'scope_id' => 1, 'department_id' => 11, 'data_scope' => '010005', 'username' => '何方', 'nickname' => 'fhe', 'phone' => '18801345830', 'email' => 'hefang@zhuanhuayixue.org', 'password' => Hash::make('123456'), 'job' => '前端工程师', 'gender' => 1, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
            ['id' => 6, 'scope_id' => 1, 'department_id' => 11, 'data_scope' => '010006', 'username' => '于莹', 'nickname' => 'yyu', 'phone' => '13693346918', 'email' => 'yuying@zhuanhuayixue.org', 'password' => Hash::make('123456'), 'job' => '前端工程师', 'gender' => 0, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
            ['id' => 7, 'scope_id' => 1, 'department_id' => 11, 'data_scope' => '010007', 'username' => '肖凯', 'nickname' => 'kxiao', 'phone' => '17607314986', 'email' => 'xiaokai@zhuanhuayixue.org', 'password' => Hash::make('123456'), 'job' => '总监', 'gender' => 1, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
            ['id' => 8, 'scope_id' => 1, 'department_id' => 11, 'data_scope' => '010008', 'username' => '李春阳', 'nickname' => 'cyli', 'phone' => '18538675200', 'email' => 'lichunyang@zhuanhuayixue.org', 'password' => Hash::make('123456'), 'job' => 'PHP工程师', 'gender' => 1, 'activated_at' => DB::raw('now()'), 'created_at' => DB::raw('now()')],
        ));
    }

}
